package com.lemon.components.wechart.order.user;

import com.lemon.components.common.order.ValidateOrderBase;

public class UserInfoOrder extends ValidateOrderBase{
	private String accessToken;
	private String openid;
	
	@Override
	public void check() {
		validateHasText(accessToken, "accessToken");
		validateHasText(openid, "openid");
	}
	
	public String getAccessToken() {
		return accessToken;
	}
	public void setAccessToken(String accessToken) {
		this.accessToken = accessToken;
	}
	public String getOpenid() {
		return openid;
	}
	public void setOpenid(String openid) {
		this.openid = openid;
	}
	@Override
	public String toString() {
		return "UserInfoOrder [accessToken=" + accessToken + ", openid=" + openid + "]";
	}
}
